package com.sharekitchen.dto;

import com.sharekitchen.entity.Device;
import com.sharekitchen.entity.DeviceDetail;
import com.sharekitchen.entity.DeviceImages;

public class DeviceDto extends Device {
    private DeviceDetail deviceDetail;
    private DeviceImages deviceImages;

    public DeviceDto() {
    }

    public DeviceDto(String devId, String devName, String devDesc, int isDelete) {
        super(devId, devName, devDesc, isDelete);
    }

    public DeviceDto(DeviceDetail deviceDetail, DeviceImages deviceImages) {
        this.deviceDetail = deviceDetail;
        this.deviceImages = deviceImages;
    }

    public DeviceDto(String devId, String devName, String devDesc, int isDelete, DeviceDetail deviceDetail, DeviceImages deviceImages) {
        super(devId, devName, devDesc, isDelete);
        this.deviceDetail = deviceDetail;
        this.deviceImages = deviceImages;
    }

    @Override
    public String toString() {
        return "DeviceDto{" +
                "deviceDetail=" + deviceDetail +
                ", deviceImages=" + deviceImages +
                '}';
    }

    public DeviceDetail getDeviceDetail() {
        return deviceDetail;
    }

    public void setDeviceDetail(DeviceDetail deviceDetail) {
        this.deviceDetail = deviceDetail;
    }

    public DeviceImages getDeviceImages() {
        return deviceImages;
    }

    public void setDeviceImages(DeviceImages deviceImages) {
        this.deviceImages = deviceImages;
    }
}
